package com.zhiyou100.crm.dao;

import com.zhiyou100.crm.pojo.Role;

import java.io.IOException;
import java.util.List;

public interface RoleDao {
    public abstract List<Role> queryRole() throws IOException;
    int deleteRole(int id) throws IOException;
    int update(Role role) throws IOException;
    int insertRole(Role role) throws IOException;
}
